package com.starry;

import java.util.Arrays;
import java.util.List;
import java.util.Map;

public class Person {
    private String userName;
    private String[] banks;
    private List<String> hobbys;
    private Map<String,Object> maps;

    public Person(String userName) {
        this.userName = userName;
    }

    public Integer getAge(){
        return 18;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String[] getBanks() {
        return banks;
    }

    public void setBanks(String[] banks) {
        this.banks = banks;
    }

    public List<String> getHobbys() {
        return hobbys;
    }

    public void setHobbys(List<String> hobbys) {
        this.hobbys = hobbys;
    }

    public Map<String, Object> getMaps() {
        return maps;
    }

    public void setMaps(Map<String, Object> maps) {
        this.maps = maps;
    }

    @Override
    public String toString() {
        return "Person{" +
                "userName='" + userName + '\'' +
                ", banks=" + Arrays.toString(banks) +
                ", hobbys=" + hobbys +
                ", maps=" + maps +
                '}';
    }
}
